home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Inventor Labs: Technology
/
INVENTORLABS_TECHNOLOGY.BIN
/
pc
/
files
/
shared.cst
/
00028_Script_Frame Funct Parent Script
< prev
next >
Wrap
Text File
|
1997-07-24
|
2KB
|
68 lines
--o:Funct FRAME
property pCastNum, pPictSprite, pStartSprite, pQTsprite, pSnd, pActive, pFrameLabel, pReturnFrame, pAreaHotSpotID
property pCursorList, pPullOutSprite1, pRelatedHSid
global gModeManager, gInterfaceMgrObj, gAreaManagerObj, gUtilityObj, gReturnFrame, gCurrMovie
------------------------------------------------------------------------------------------------------------------ò
on birth me
return ( me )
end birth
------------------------------------------------------------------------------------------------------------------ò
on mInit me, aLineFromDataBase, aPICTsprite
set pPictSprite = aPICTsprite
set pFrameLabel = item 4 of aLineFromDataBase
set pRelatedHSid = item 1 of aLineFromDataBase
set pCursorList = [21:#RETURN,22:#RETURN]
end
------------------------------------------------------------------------------------------------------------------ò
on mDiscloseFunctionalityType me
return( #Frame )
end
------------------------------------------------------------------------------------------------------------------ò
on mActivate me
cursor 4
mUpdateReturnFrame(gUtilityObj, label(pFrameLabel))
go pFrameLabel
mClearToolMenu ( gInterfaceMgrObj )
mSetCursors (gUtilityObj, pCursorList)
mDisplayClickText(gInterfaceMgrObj, pRelatedHSid)
cursor -1
end
------------------------------------------------------------------------------------------------------------------ò
on mClose me
mClearAllText (gUtilityObj)
mUnSetCursors(gUtilityObj)
end
------------------------------------------------------------------------------------------------------------------ò
on mClickEvent me
mClose( me )
mChangeMode( gModeManager, #Return)
end mClickEvent
------------------------------------------------------------------------------------------------------------------ò
on mDisclose me
--put "Frame"
end
------------------------------------------------------------------------------------------------------------------ò
on mSetAreaHotSpotID me, aAreaHotSpotID
set pAreaHotSpotID = aAreaHotSpotID
end mSetAreaHotSpotID
------------------------------------------------------------------------------------------------------------------ò